package barinadroid.game;

public class Size
{
	public float width, height;

	public Size(float width, float height)
	{
		this.width = width;
		this.height = height;
	}

	@Override
	protected Object clone() throws CloneNotSupportedException
	{
		return new Size(width, height);
	}

	@Override
	public boolean equals(Object o)
	{
		try
		{
			Size other = (Size)o;
			if(other.width == this.width)
				return other.height == other.height;
		}
		catch(Exception e)
		{}
		return super.equals(o);
	}
}